/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package beans;

import dto.JfMembers;
import java.util.Vector;
import javax.servlet.http.HttpServletRequest;
import java.math.BigDecimal;
import java.util.Date;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.action.ActionMessage;

/**
 *
 * @author Deena
 */

public class DisplayUsersFormBean extends org.apache.struts.action.ActionForm {

    Vector<JfMembers> jfmembers = new Vector<JfMembers>();
    private BigDecimal number[];
     int banned;
    int memberId;
    Date  unsuspenddate;
    String     username;
    String msg = "";

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
    public int getBanned() {
        return banned;
    }

    public void setBanned(int banned) {
        this.banned = banned;
    }

    public int getMemberId() {
        return memberId;
    }

    public void setMemberId(int memberId) {
        this.memberId = memberId;
    }

    public Date getUnsuspenddate() {
        return unsuspenddate;
    }

    public void setUnsuspenddate(Date unsuspenddate) {
        this.unsuspenddate = unsuspenddate;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    

    public BigDecimal [] getNumber() {
        return number;
    }

   public void setNumber(BigDecimal i[]) {
        number = i;
    }

    public DisplayUsersFormBean() {
        super();
    }

    public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) {
        return  null;
    }

    public Vector<JfMembers> getJfmembers() {
        return jfmembers;
    }

    public void setJfmembers(Vector<JfMembers> jfmembers) {
        this.jfmembers = jfmembers;
    }

    public void reset(ActionMapping actionMapping, HttpServletRequest request) {
        number = new BigDecimal[0];
        msg = " ";
        System.out.println("reset");
    }
   
}
